package com.uni.crawl.model.vo.crawl;

import com.uni.crawl.common.base.UserBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 爬虫数据
 * </p>
 *
 * @author JervisPG
 * @since 2023-12-16
 */
@Getter
@Setter
@ApiModel(value = "CrawlData对象", description = "爬虫数据")
public class CrawlDataVO extends UserBaseEntity {

    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("模板编码")
    private String tmplCode;

    @ApiModelProperty("空间编码")
    private String nsCode;

    @ApiModelProperty("实例ID")
    private Long instanceId;

    @ApiModelProperty("队列ID")
    private Long queueId;

    @ApiModelProperty("最终解析后的数据")
    private String dataJson;

    // 关联字段
    @ApiModelProperty("空间名称")
    private String nsName;

    @ApiModelProperty("模板名称")
    private String tmplName;
}
